import {createRouter, createWebHistory} from "vue-router";

const router = createRouter({
    history: createWebHistory(),
      routes: [
          {
              path: "/",
              component: () => import("../MainLayout/index.vue"),
              children: [
                  {
                      path: "/home",
                      name: "home",
                      component: () => import("../views/Home/index.vue")
                  },
                  {
                      path: '/init-tour',
                      name: 'init-tour',
                      component: () => import('../views/InitTour/index.vue')
                  }
              ]
          },
      ]
});

export default router;